let inputs = document.querySelectorAll(".yz")
let spans = document.querySelectorAll(".ts")
//批量注册失焦事件
inputs.forEach(function(input,i){
    input.addEventListener("blur",function(){
        spans.forEach(function(a){
            a.style.display = "none"
        })
    spans[i].style.display = "inline-block"
    })
})
//注册按钮
let ty = document.querySelector(".dx")
let btn = document.querySelector(".btn")
ty.addEventListener("click",function(){
    if(ty.checked){
        btn.displayed = false
    }else{
        btn.displayed = true
    }
})

